﻿@model PaperWorld.Web.Models.Users.LoginModel
@using PaperWorld.Web.Models.Users

@{
    ViewBag.Title = "登录";
}
<div>@{
    if (ViewBag.Result != null)
    {
        <strong>@ViewBag.Result.Message</strong>
    }
    }</div>
<div>

    @using (Html.BeginForm())
    {
        <div>@(Html.TextBoxFor<LoginModel, string>(c => c.UserName))</div>
        <div>@(Html.PasswordFor<LoginModel, string>(c => c.Password))</div>
        <div>
            <input type="submit" name="login-submit" value="登录" />
        </div>
    }

</div>
